home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / python2.6 / dist-packages / computerjanitor / exc.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-10-12  |  1.0 KB  |  20 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import computerjanitor
  5. _ = computerjanitor.setup_gettext()
  6.  
  7. class ComputerJanitorException(Exception):
  8.     
  9.     def __str__(self):
  10.         return self._str
  11.  
  12.  
  13.  
  14. class UnimplementedMethod(ComputerJanitorException):
  15.     
  16.     def __init__(self, method):
  17.         self._str = _('Unimplemented method: %s') % str(method)
  18.  
  19.  
  20.